#!/usr/bin/env python
# -*- coding: utf-8 -*-

from PyQt4.QtCore import *
from PyQt4.QtGui import *

class LyricChangeEvent(QEvent):
    def __init__(self, lyric, artist, title):
        """
        
        Arguments:
        - `self`:
        - `artist`:
        - `title`:
        """
        QEvent.__init__(self, QEvent.Type(QEvent.User + 1))
        self.lyric  = lyric
        self.artist = artist
        self.title  = title

class TimeChangeEvent(QEvent):
    def __init__(self, time):
        """
        
        Arguments:
        - `self`:
        - `time`:
        """
        QEvent.__init__(self, QEvent.Type(QEvent.User + 2))
        self.time_ms = time

class StatusChangeEvent(QEvent):
    def __init__(self, status):
        """
        
        Arguments:
        - `self`:
        - `status`:
        """
        QEvent.__init__(self, QEvent.Type(QEvent.User + 3))
        self.status = status
